package com.xizhao.boot.config;

/**
 * . _________         .__   _____   __
 * ./   _____/__  _  __|__|_/ ____\_/  |_
 * .\_____  \ \ \/ \/ /|  |\   __\ \   __\
 * ./        \ \     / |  | |  |    |  |
 * /_______  /  \/\_/  |__| |__|    |__|
 * .       \/
 * <p>
 * <a href="www.google.com">google</a>
 *
 * @author li tong
 * @description 返回状态值
 * @date 2022/08/18 17:03
 * @see Object
 * @since 1.0
 */
public enum ResultEnum {
	SUCCESS(1, "SUCCESS"),
	FAIL(0, "FAIL"),
	;

	ResultEnum(int code, String msg) {
		this.code = code;
		this.msg = msg;
	}

	private final int code;

	private final String msg;

	public int getCode() {
		return code;
	}

	public String getMsg() {
		return msg;
	}
}
